package Test03;
/**
 *People类
 */
public  abstract class People {
    private String kind;
    private String name;
    private int level;
    private String enemy;
    public void intor(){
        System.out.println("我是Lv" + this.getLevel() + "的" + this.getKind() + this.getName());
    }

    public People(String kind, String name, int level,String enemy) {
        this.kind = kind;
        this.name = name;
        this.level = level;
        this.enemy = enemy;
    }

    public String getEnemy() {
        return enemy;
    }

    public void setEnemy(String enemy) {
        this.enemy = enemy;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }
}
